home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / c++ / cplxtrig.z / cplxtrig
Encoding:
Text File  |  1998-10-30  |  4.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPLLLLXXXXTTTTRRRRIIIIGGGG((((3333CCCC++++++++))))                                                  CCCCPPPPLLLLXXXXTTTTRRRRIIIIGGGG((((3333CCCC++++++++))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cplxtrig - trigonometric and hyperbolic functions for the C++ complex
  10.      library
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_...._hhhh_>>>>
  14.  
  15.      _cccc_llll_aaaa_ssss_ssss _cccc_oooo_mmmm_pppp_llll_eeee_xxxx _{{{{
  16.  
  17.      _pppp_uuuu_bbbb_llll_iiii_cccc_::::
  18.                _ffff_rrrr_iiii_eeee_nnnn_dddd _cccc_oooo_mmmm_pppp_llll_eeee_xxxx _ssss_iiii_nnnn_((((_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_))))_;;;;
  19.                _ffff_rrrr_iiii_eeee_nnnn_dddd _cccc_oooo_mmmm_pppp_llll_eeee_xxxx _cccc_oooo_ssss_((((_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_))))_;;;;
  20.  
  21.                _ffff_rrrr_iiii_eeee_nnnn_dddd _cccc_oooo_mmmm_pppp_llll_eeee_xxxx _ssss_iiii_nnnn_hhhh_((((_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_))))_;;;;
  22.                _ffff_rrrr_iiii_eeee_nnnn_dddd _cccc_oooo_mmmm_pppp_llll_eeee_xxxx _cccc_oooo_ssss_hhhh_((((_cccc_oooo_mmmm_pppp_llll_eeee_xxxx_))))_;;;;
  23.      _}}}}_;;;;
  24.  
  25.  
  26. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  27.      The following trigonometric functions are defined for _cccc_oooo_mmmm_pppp_llll_eeee_xxxx, where:
  28.       - _x and _y are of type _cccc_oooo_mmmm_pppp_llll_eeee_xxxx.
  29.  
  30.      _y _==== _ssss_iiii_nnnn_((((_x_))))     Returns the sine of _x.
  31.  
  32.      _y _==== _cccc_oooo_ssss_((((_x_))))     Returns the cosine of _x.
  33.  
  34.      _y _==== _ssss_iiii_nnnn_hhhh_((((_x_))))    Returns the hyperbolic sine of _x.
  35.  
  36.      _y _==== _cccc_oooo_ssss_hhhh_((((_x_))))    Returns the hyperbolic cosine of _x.
  37.  
  38. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  39.      _cccc_oooo_mmmm_pppp_llll_eeee_xxxx(3C++), _cccc_aaaa_rrrr_tttt_pppp_oooo_llll(3C++), _cccc_pppp_llll_xxxx_eeee_rrrr_rrrr(3C++), _cccc_pppp_llll_xxxx_oooo_pppp_ssss(3C++), and
  40.      _cccc_pppp_llll_xxxx_eeee_xxxx_pppp(3C++).
  41.  
  42. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  43.      If the imaginary part of _x would cause overflow _ssss_iiii_nnnn_hhhh and _cccc_oooo_ssss_hhhh return _((((_0000_,,,,
  44.      _0000_)))).  When the real part is large enough to cause overflow, _ssss_iiii_nnnn_hhhh and _cccc_oooo_ssss_hhhh
  45.      return _((((_HHHH_UUUU_GGGG_EEEE_,,,, _HHHH_UUUU_GGGG_EEEE_)))) if the cosine and sine of the imaginary part of _x are
  46.      non-negative, _((((_HHHH_UUUU_GGGG_EEEE_,,,, _----_HHHH_UUUU_GGGG_EEEE_)))) if the cosine is non-negative and the sine is
  47.      less than 0, _((((_----_HHHH_UUUU_GGGG_EEEE_,,,, _HHHH_UUUU_GGGG_EEEE_)))) if the sine is non-negative and the cosine is
  48.      less than 0, and _((((_----_HHHH_UUUU_GGGG_EEEE_,,,, _----_HHHH_UUUU_GGGG_EEEE_)))) if both sine and cosine are less than 0.
  49.      In all these cases, _e_r_r_n_o is set to _EEEE_RRRR_AAAA_NNNN_GGGG_EEEE.
  50.  
  51.      These error-handling procedures may be changed with the function
  52.      _cccc_oooo_mmmm_pppp_llll_eeee_xxxx______eeee_rrrr_rrrr_oooo_rrrr (_cccc_pppp_llll_xxxx_eeee_rrrr_rrrr(3C++)).
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.